/**
 * Project Name:YCApiServer-dao
 * File Name:MusicActivityFlow.java
 * Package Name:com.yc.music.mapper.dao
 * Date:2016年8月15日上午11:09:34
 * Copyright (c) 2016 
 *
 */
package com.yc.music.model.activity;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

/**
 * ClassName: MusicActivityFlow <br/>
 * Function: 活动流水. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年8月15日 上午11:09:34 <br/>
 *
 * @author qinhaiguan
 * @version 
 */
public class MusicActivityFlow implements Serializable{
	
	private static final long serialVersionUID = -3184680041431367683L;

	private Integer id;
	
	@NotNull(message="{activity.activityid.empty}")
	private Integer activityid;
	
	@NotNull(message="{activity.userid.empty}")
	private Long userid;
	
	@NotNull(message="{activity.workid.empty}")
	private Integer workid;
	
	private Integer type;
	
	private Date createtime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getActivityid() {
		return activityid;
	}

	public void setActivityid(Integer activityid) {
		this.activityid = activityid;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Integer getWorkid() {
		return workid;
	}

	public void setWorkid(Integer workid) {
		this.workid = workid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	
}
